
/* -------------------- */
/*         MAIN         */
/* -------------------- */

*{ 
	padding:0; margin:0;
	-o-user-select:none; -ms-user-select:none; -khtml-user-select:none; 
	-webkit-user-select:none; -moz-user-select: none; /*pointer-events:none; */
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
}



html, body {

    font-size: 14px;

	font-family: Consolas, Menlo, Monaco, monospace;
    font-weight: 400;
    font-size: 12px;
    font-style: normal;
    font-variant: normal;
    /*font-smooth: never;
    -webkit-font-smoothing : none;*/
    /*line-height: 23px;*/
    height:100%;
    background:#252525;
    color:#DDD;
    overflow:hidden;
}
a{
    color: hotpink;
    text-decoration: none;
}
h1{
    font-size: 14px;
    color:#DE5825;
    margin-left: 10px;
    display:inline;
}
h2{
    font-size: 14px;
    color:#79d62e;
    margin-left: 10px;
    display:inline;
}
h3{
    font-size: 16px;
}

@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}
#octo-arm{pointer-events:none;}
#octo-body{pointer-events:none;}
#octo{cursor:pointer;pointer-events:auto;}

.canvas3d { 
    position: absolute; top:0; left:0; pointer-events:auto; width:100%; height:100%;
}

.bigmenu {
    position: absolute;
    padding-top:40px;
    background: rgba(0,0,0,0);
    transition:background 0.3s ease;
    border-bottom:  1px solid rgba(255, 255, 255, 0);
    transition:border 0.3s ease;
}

.playButton {

    position:absolute;
    width:30px;
    height:30px;
    right:5px;
    top:5px;
    padding: 5px 5px;
    border-radius: 3px;
    border: 1px solid #3f3f3f;
    cursor:pointer;
    pointer-events:auto;
    transition:background 0.3s ease;

}

.bigContent {
    padding: 10px 40px;
    width:100%;
    display: block;
}

.menuButtonBig{

    /*font-size: 13px;
    font-weight: 400;*/
    height: 30px;
    padding: 4px;
    padding-top: 10px;
    background: none;
    pointer-events:auto;
    cursor: pointer;
    /*background:#0d0d0d;*/
    text-align: left;
    display: inline-block;
    width:110px;
    transition:color 0.3s ease;

}

.menuButtonBig:hover{
    color:#DE5825;
}

.bigButton {
    
    border: 1px solid #3f3f3f;
    background: #252525;
    color:#DE5825;
    width:70px;
    height:30px;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 500;
    text-align: center;
    pointer-events:auto;
    line-height: 28px;
    cursor:pointer;
    display: inline-block;
    margin-left: 40px;
    margin-right: -20px;
    transition:background 0.3s ease;
    transition:color 0.3s ease;
    border-radius: 3px;
}

.debug {

    font-size: 11px;
    position: absolute;
    margin:10px 10px;
    left: 0px;
    bottom: 0px;
    color:#AAA;
    pointer-events: none;
    opacity: 0.5;

}

.title {
    position:absolute;
    font-size: 16px;
    font-style: normal;
    font-variant: normal;
    font-weight: 500;

    bottom: 55px;
    padding-left: 40px;
}

.subtitle {
    position:absolute;
    left:10px;
    bottom:10px;
    width:300px;
    height:20px;
}

.env{
    position:absolute; 
    bottom:10px; 
    right:10px;
    /*padding: 2px 2px;*/
    border:2px solid #3f3f3f; 
    width:68px; 
    height:68px; 
    background:none;
    cursor:pointer;
    pointer-events:auto;
    /*opacity:0.7;*/
}

.env:hover{
    border:2px solid #DE5825; 
}

.menuCode {

    position:absolute;
    top : 0px;
    left: 0px;
    width: 100%;
    padding-left: 10px;
    padding-top: 9px;
    font-size: 16px;
    font-weight: 500;
    line-height: 23px;
    height: 40px;
    background: none;
    border-bottom:1px solid #3f3f3f;
    overflow: hidden;
}

.info {
    pointer-events:none; position:absolute;
    left:10px;
    top:40px;
    width:200px;
    height:200px;
}

.error {
    pointer-events:none; position:absolute;
    right:10px;
    bottom:30px;
    width:300px;
    height:200px;
    color:#FF6600;
    text-align:right;
}

.separator {
    position:absolute; background-color:none; pointer-events:auto; display:block; 
    border-left:1px solid #3f3f3f; 
    border-right:1px solid #3f3f3f;
    left:calc(50% - 5px); top:0px; width:10px; height:100%;
    color: rgba(255, 255, 255, 0.2);
    cursor: e-resize;
}

.separator_mid {
    position:absolute; background-color:none; pointer-events:none; display:block;
    width:10px; height:20px; letter-spacing:-5px; padding-left: 0px; 
    left:-1.25px; top:calc(50% - 10px); font-size: 14px;
}

/* EDITOR */

.docContent {
    position:absolute;
    background-color:none;
    top:400px;
    width:100%;
    height:calc(100% - 400px);
    padding:10px 10px;
    line-height:16px;
    overflow: auto;
    pointer-events:auto;
}

.bigLine {
    position:absolute;
    background-color:#3f3f3f;
    height: 1px;
    width:calc(100% - 40px);
    pointer-events:none;
}

.editor {
	position:absolute;
    background-color:none;
    pointer-events:none;  /*border:1px solid #666; z-index:1;*/ 
    top:0;
    left:0;
    width:50%;
    height:100%;
}

.codeContent {
    position:absolute;
    background-color:none;
    pointer-events:none;
    display:block;
    left:0px;
    top:40px;
    width:100%;
    background:none;
    /*padding-top:10px;
    padding-left:10px;*/
    height:calc(100% - 40px);
}

/* -------------------- */
/*     CODE MIRROR      */
/* -------------------- */

.CodeMirror {
    /*padding-top: 20px;
    padding-bottom: 10px;*/
    pointer-events: auto;
   /*  overflow: scroll;*/
    height: 100%;
    font-family: Consolas, Menlo, Monaco, monospace;
    font-weight: normal;
    font-stretch: normal;
    font-size: 12px;
    line-height: 110%;
    color: #DDD;
    /*letter-spacing: -0.5px;*/
    
    background: none;
    border:none;
    
}

/* PADDING */

.CodeMirror-lines {
    padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
    padding: 0 4px; /* Horizontal padding of content */
}


/*BOTTOM CORNER*/
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
    background:none;
}

.CodeMirror-focused .cm-matchhighlight { 
    background-image: url();
    background-position: bottom;
    background-repeat: repeat-x;
}

/* GUTTER */

.CodeMirror-gutters {
    border-right: 1px solid #ddd;
    /*background-color: #D0D0D0;*/
    background: none;
    white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
    padding: 0 3px 0 5px;
    /*margin-left: -20px;*/
    min-width: 10px;
    text-align: right;
    /*background: #D0D0D0;*/
    background: none;
    color: #AAA;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.CodeMirror-guttermarker { color: black; }
.CodeMirror-guttermarker-subtle { color: #999; }

/* CURSOR */

.CodeMirror div.CodeMirror-cursor {
    border-left: 1px solid black;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
    border-left: 1px solid silver;
}
.CodeMirror.cm-fat-cursor div.CodeMirror-cursor {
    width: auto;
    border: 0;
    background: #7e7;
}
.CodeMirror.cm-fat-cursor div.CodeMirror-cursors {
    z-index: 1;
}

.cm-animate-fat-cursor {
    width: auto;
    border: 0;
    -webkit-animation: blink 1.06s steps(1) infinite;
    -moz-animation: blink 1.06s steps(1) infinite;
    animation: blink 1.06s steps(1) infinite;
}
@-moz-keyframes blink {
    0% { background: #7e7; }
    50% { background: none; }
    100% { background: #7e7; }
}
@-webkit-keyframes blink {
    0% { background: #7e7; }
    50% { background: none; }
    100% { background: #7e7; }
}
@keyframes blink {
    0% { background: #7e7; }
    50% { background: none; }
    100% { background: #7e7; }
}

/* Can style cursor different in overwrite (non-insert) mode */
div.CodeMirror-overwrite div.CodeMirror-cursor {}

.cm-tab { display: inline-block; text-decoration: inherit; }

.CodeMirror-ruler {
    border-left: 1px solid #ccc;
    position: absolute;
}

/* Default styles for common addons */

div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
.CodeMirror-activeline-background {background: #e8f2ff;}

/* STOP */

/* The rest of this file contains styles related to the mechanics of
   the editor. You probably shouldn't touch them. */

.CodeMirror {
    position: relative;
    overflow: hidden;
}

.CodeMirror-scroll {
    overflow: scroll !important; /* Things will break if this is overridden */
    /* 30px is the magic margin used to hide the element's real scrollbars */
    /* See overflow: hidden in .CodeMirror */
    margin-bottom: -30px; 
    margin-right: -30px;
    padding-bottom: 30px;
    height: 100%;
    /*width: 100%;*/
    outline: none; /* Prevent dragging from highlighting the element */
    position: relative;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.CodeMirror-sizer {
    position: relative;
    border-right: 30px solid transparent;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

/* The fake, visible scrollbars. Used to force redraw during scrolling
   before actuall scrolling happens, thus preventing shaking and
   flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
    position: absolute;
    z-index: 6;
    display: none;
} 
.CodeMirror-vscrollbar { right: 0; top: 0; overflow-x: hidden; overflow-y: scroll; }
.CodeMirror-hscrollbar { bottom: 0; left: 0; overflow-y: hidden; overflow-x: scroll; }
.CodeMirror-scrollbar-filler { right: 0; bottom: 0; }
.CodeMirror-gutter-filler { left: 0; bottom: 0; }
.CodeMirror-gutters { position: absolute; left: 0; top: 0; z-index: 3; }
.CodeMirror-gutter {
    white-space: normal;
    height: 100%;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    display: inline-block;
    margin-bottom: -30px;
    /* Hack to make IE7 behave */
    *zoom:1;
    *display:inline;
}
.CodeMirror-gutter-wrapper { position: absolute; z-index: 4;  height: 100%; }
.CodeMirror-gutter-elt { position: absolute; cursor: default; z-index: 4; }
.CodeMirror-lines { cursor: text; min-height: 1px; /* prevents collapsing before first draw */ }
.CodeMirror pre {
    /* Reset some styles that the rest of the page might have set */
    -moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
    border-width: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    margin: 0;
    white-space: pre;
    word-wrap: normal;
    line-height: inherit;
    color: inherit;
    z-index: 2;
    position: relative;
    overflow: visible;
}
.CodeMirror-wrap pre { word-wrap: break-word; white-space: pre-wrap; word-break: normal; }
.CodeMirror-linebackground { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; }
.CodeMirror-linewidget { position: relative; z-index: 2; overflow: auto; }
.CodeMirror-widget {}
.CodeMirror-measure { position: absolute; width: 100%; height: 0; overflow: hidden; visibility: hidden; }
.CodeMirror-measure pre { position: static; }

.CodeMirror div.CodeMirror-cursor { position: absolute; border-right: none; width: 0; }
div.CodeMirror-cursors { visibility: hidden; position: relative; z-index: 3; }
.CodeMirror-focused div.CodeMirror-cursors { visibility: visible; }

.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.CodeMirror-crosshair { cursor: crosshair; }

.cm-searching {
    background: #ffa;
    background: rgba(255, 255, 0, .4);
}

/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }

/* Used to force a border model for a node */
.cm-force-border { padding-right: .1px; }

@media print {
    /* Hide the cursor when printing */
    .CodeMirror div.CodeMirror-cursors {
       visibility: hidden;
    }
}

/* See issue #2901 */
.cm-tab-wrap-hack:after { content: ''; }

/* Help users use markselection to safely style text background */
span.CodeMirror-selectedtext { background: none; }


/* Based on Sublime Text's Monokai theme */

.cm-s-monokai.CodeMirror {background: none; color:#DDD; }
/*.cm-s-monokai .cm-punctuation {color:#D0D0D0;}*/
.cm-s-monokai div.CodeMirror-selected {background: rgba(100,100,100,0.3) !important;}
.cm-s-monokai .CodeMirror-gutters {background:none; color:#ffffff; border-right: 0px;}
.cm-s-monokai .CodeMirror-guttermarker { color: white; }
.cm-s-monokai .CodeMirror-guttermarker-subtle { color: #DDD; }
.cm-s-monokai .CodeMirror-linenumber { color: #606060; background:none; }
.cm-s-monokai .CodeMirror-cursor {border-left: 1px solid #f8f8f0 !important;}

.cm-s-monokai.CodeMirror span.CodeMirror-matchingbracket { color: #7EFC7E; }
.cm-s-monokai span.cm-punctuation {color:#FF0000;}

.cm-s-monokai span.cm-comment {color: #75715e;}
.cm-s-monokai span.cm-atom {color: #ae81ff;}
.cm-s-monokai span.cm-number {color: #ae81ff;}

.cm-s-monokai span.cm-property {color: #DDD;}
.cm-s-monokai span.cm-attribute {color: #a6e22e;}
.cm-s-monokai span.cm-keyword {color: #66d9ef;}
.cm-s-monokai span.cm-string {color: #e6db74;}

.cm-s-monokai span.cm-variable {color: #a6e22e;}
.cm-s-monokai span.cm-variable-2 {color: #9effff;}
.cm-s-monokai span.cm-variable-3 {color: #ff0000;}
.cm-s-monokai span.cm-def {color:#DDD;}
.cm-s-monokai span.cm-bracket {color: #DDD;}
.cm-s-monokai span.cm-tag {color: #f92672;}
.cm-s-monokai span.cm-link {color: #ae81ff;}
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}


.cm-s-monokai span.cm-operator {color: #f92672;}
.cm-s-monokai span.cm-qualifier {color: #FF0555;}
.cm-s-monokai span.cm-string-2 {color: #f50;}
.cm-s-monokai span.cm-meta {color: #555;}
.cm-s-monokai span.cm-builtin {color: #ff030a;}
.cm-s-monokai span.cm-hr {color: #999;}
.cm-s-monokai span.cm-header {color: blue;}
.cm-s-monokai span.cm-quote {color: #0F0;}

.cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}
.cm-s-monokai .CodeMirror-matchingbracket {
    text-decoration: underline;
    color: white !important;
}

.cm-s-monokai ::-webkit-scrollbar-track:vertical{
    background: none;
    /*background-color: #202020;
    box-shadow: -12px 0px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
}
.cm-s-monokai ::-webkit-scrollbar-track:horizontal{
    background: none;
    /*background-color: #1e1e1e;
    box-shadow: 0px -12px 12px -12px rgba(0, 0, 0, 0.3) inset;*/
}

/*.cm-s-monokai .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
  background:none;
}*/

.cm-s-monokai ::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);/*#333;*/
    border:3px solid rgba(0,0,0,0);
    /*border-radius: 25px;*/
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    /*box-shadow: 1px 1px 0px 1px rgba(255, 255, 255, 0.1) inset;*/
}

.cm-s-monokai ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.4);/*#555;*/

}

.cm-s-monokai ::-webkit-scrollbar {
    width:10px;
    height:10px;
}

/* ERROR */

.CodeMirror .esprima-error {
    color: #f00;
    text-align: left;
    padding: 0px 20px;
}
.CodeMirror .errorLine { background: rgba(255,0,0,0.25); }
.CodeMirror .esprima-error {
    color: #f00;
    text-align: left;
    padding: 0px 20px;
}